import { defineStore } from 'pinia'

export const dataSet = defineStore('dataSet', {
  state: () => ({
    address: '' as string,
    commentBox: {
      show: false as boolean,
      _id: '' as string,
    },
  }),
  actions: {
    setAddress(newAddress: string) {
      this.address = newAddress
    },
  },
})
    